package com.qdu.service;

import com.qdu.model.Employee;
import java.util.List;

/**
 * EmployeeService接口，定义员工相关的业务功能的方法
 *
 * @author Anna
 */
public interface EmployeeService {

    Employee findEmployeeById(String empId);

    int addNewEmployee(Employee emp);
    
    int addNewEmployee(String eid, String ephoto);

    int modifyEmployeeInfo(Employee emp);

    int modifyEmployeePhoto(String empId, String newPhto);

    int deleteEmployee(String emp);

    List<Employee> findAllEmployees();
}
